<?php
class UserControl extends Control{
    public function index(){
        $user = M('user')->query('SELECT * FROM hd_user');
        $this->assign('users', $user);
        $this->display();
    }
}

